package com.py.credit.clean.code;

import org.apache.commons.lang3.StringUtils;

public class GkfwCheck
{
  public static final String A = "1";
  public static final String B = "2";
  public static final String C = "3";
  public static final String D = "社会公开";
  public static final String E = "政务共享";
  public static final String F = "授权查询";

  public static boolean run(String data, String extend)
  {
    if (StringUtils.isEmpty(data))
      return false;
    try
    {
      return checkgkfw(data); } catch (Exception e) {
    }
    return false;
  }

  private static boolean checkgkfw(String data)
  {
    if ((data.equals("1")) || (data.equals("2")) || (data.equals("3")) || (data.equals("社会公开")) || (data.equals("政务共享")) || (data.equals("授权查询"))) {
      return true;
    }

    return false;
  }
}